package net.wanglu.www.zzz.service.se.rcmod;

import net.wanglu.www.zzz.service.se.__Tuple;
import edu.stanford.nlp.trees.Tree;
import edu.stanford.nlp.trees.TreeGraphNode;
import edu.stanford.nlp.trees.TypedDependency;

public abstract class _RcmodTuple extends __Tuple {

	private TreeGraphNode headword;
	private TreeGraphNode verb;
	private TreeGraphNode relativePronoun;
	
	private Tree headwordAncestor;
	private Tree verbAncestor;
	private Tree relativePronounAncestor;
	
	private TypedDependency headwordNsubj;
	private TypedDependency verbNsubj;
	
	public TreeGraphNode getHeadword() {
		return headword;
	}
	public void setHeadword(TreeGraphNode headword) {
		this.headword = headword;
	}
	public TreeGraphNode getVerb() {
		return verb;
	}
	public void setVerb(TreeGraphNode verb) {
		this.verb = verb;
	}
	public TreeGraphNode getRelativePronoun() {
		return relativePronoun;
	}
	public void setRelativePronoun(TreeGraphNode relativePronoun) {
		this.relativePronoun = relativePronoun;
	}
	public Tree getHeadwordAncestor() {
		return headwordAncestor;
	}
	public void setHeadwordAncestor(Tree headwordAncestor) {
		this.headwordAncestor = headwordAncestor;
	}
	public Tree getVerbAncestor() {
		return verbAncestor;
	}
	public void setVerbAncestor(Tree verbAncestor) {
		this.verbAncestor = verbAncestor;
	}
	public Tree getRelativePronounAncestor() {
		return relativePronounAncestor;
	}
	public void setRelativePronounAncestor(Tree relativePronounAncestor) {
		this.relativePronounAncestor = relativePronounAncestor;
	}
	public TypedDependency getHeadwordNsubj() {
		return headwordNsubj;
	}
	public void setHeadwordNsubj(TypedDependency headwordNsubj) {
		this.headwordNsubj = headwordNsubj;
	}
	public TypedDependency getVerbNsubj() {
		return verbNsubj;
	}
	public void setVerbNsubj(TypedDependency verbNsubj) {
		this.verbNsubj = verbNsubj;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		sb.clear();
		sb.append("headword:").append(this.headword).append("\n");
		sb.append("headwordAncestor").append(this.headwordAncestor).append("\n");
		sb.append("verb:").append(this.verb).append("\n");
		sb.append("verbAncestor:").append(this.verbAncestor).append("\n");
		sb.append("relativePronoun").append(this.relativePronoun).append("\n");
		sb.append("relativePronounAncestor:").append(this.relativePronounAncestor).append("\n");
		sb.append("headwordNsubj:").append(this.headwordNsubj).append("\n");
		sb.append("verbNsubj:").append(this.verbNsubj);
		return sb.toString();
	}
}
